package
{
	public final class Config
	{
		[Singleton]
		[onCreate(name="init")]
		[onDestroy(name="destroy")]
		public function someClass():SomeClass
		{
			return new SomeClass("test");
		}
		
		[onCreate(name="init")]
		public function otherClass():SomeOtherClass
		{
			return new SomeOtherClass();
		}
	}
}